<!DOCTYPE html>
<body onload='parent.postMessage("onload", "*");'>
    iframe2<br>
    Manual test: click here.
    <script src="../full-screen-test.js"></script>
    <script>
        window.onclick = function() {
            document.body.webkitRequestFullScreen();
        };
        waitForEvent(document, 'webkitfullscreenchange', function() {
            parent.postMessage("SUCCEED - entered full screen!", "*");
        });
    </script>
</body>
